import axios from "axios";
let alter = (id,data) => axios.put(`/seller/goods/${id}`,data);
let list = (params) => axios.get("/goods/list", { params });
let detail = (params) => axios.get("/seller/goods", { params });
let remove = (id) => axios.delete(`/seller/goods/${id}`);
let release = (data) => axios.post("/seller/goods", data);
export default {
    alter, list, detail, remove, release
}